<div class="panel panel-primary">
    <div class="panel-heading">
        <h2 class="panel-title">Nuevo operario:</h2>
    </div>
    <div class="panel-body">
        <form class="form-horizontal" name="frmCrearUsuario" method="POST" role="form">
            <div class="form-group">
                <label for="txtUsuario" class="col-sm-1 control-label">Usuario:</label>
                <div class="col-sm-4">
                    <input id="txtUsuario" class="form-control" name="txtUsuario" type="text" maxlength="20" placeholder="Usuario" />
                </div>
                <label for="txtContrasena" class="col-sm-offset-1 col-sm-1 control-label">Contrase&ntilde;a:</label>
                <div class="col-sm-4">
                    <input id="txtContrasena" class="form-control" name="txtContrasena" type="password" maxlength="20" placeholder="Contrase&ntilde;a" />
                </div>
            </div>
            <div class="form-group">
                <label for="txtNombre" class="col-sm-1 control-label">Nombre:</label>
                <div class="col-sm-4">
                    <input id="txtNombre" class="form-control" name="txtNombre" type="text" maxlength="50" placeholder="Nombre" />
                </div>
                <label for="txtApellido" class="col-sm-offset-1 col-sm-1 control-label">Apellido:</label>
                <div class="col-sm-4">
                    <input id="txtApellido" class="form-control" type="text" name="txtApellido" maxlength="50" placeholder="Apellido" />
                </div>
            </div>
            <div class="form-group">
                <label for="txtDNI" class="col-sm-1 control-label">DNI:</label>
                <div class="col-sm-4">
                    <input id="txtDNI" class="form-control" type="number" name="txtDNI" min="1" max="99999999" step="1" placeholder="DNI" required="required" />
                </div>
                <label for="ddlRol" class="col-sm-offset-1 col-sm-1 control-label">Rol:</label>
                <div class="col-sm-4">
                    <select id="ddlRol" class="form-control" name="ddlRol" required="required">
                        <!-- <option disabled="disabled" selected="selected">Seleccione un rol</option> -->
                        {combo_roles}
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label for="txtTelefono" class="col-sm-1 control-label">Telefono:</label>
                <div class="col-sm-4">
                    <input id="txtTelefono" class="form-control" type="number" name="txtTelefono" min="1" max="9999999999" step="1" placeholder="Telefono fijo"/>
                </div>
                <label for="txtCelular" class="col-sm-offset-1 col-sm-1 control-label">Celular:</label>
                <div class="col-sm-4">
                    <input id="txtCelular" class="form-control" type="number" name="txtCelular" min="1" max="9999999999" step="1" placeholder="Celular" />
                </div>
            </div>
            <div class="form-group">
                <label for="txtEmail" class="col-sm-1 control-label">Email:</label>
                <div class="col-sm-4">
                    <input id="txtEmail" class="form-control" name="txtEmail" type="email" maxlength="50" placeholder="Correo electronico" />
                </div>
                <div class="col-sm-offset-2 col-sm-4">
                    <div class="checkbox">
                        <label>
                            <input type="checkbox" name="chkEmailValido"> &iquest;Correo valido?
                        </label>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label for="txtComentario" class="col-sm-1 control-label">Comentario:</label>
                <div class="col-sm-10">
                    <textarea id="txtComentario" class="form-control" name="txtComentario" rows="4"></textarea>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-10 col-sm-1">
                    <button class="btn btn-success" type="submit" name="btnGuardar">
                        <span class="glyphicon glyphicon-save"></span> Guardar
                    </button>
                </div>
                <div class="col-sm-1">
                    <a class="btn btn-default" href="index.php?do=/admin/oper_index" role="button">
                        <span class="glyphicon glyphicon-arrow-left"></span> Volver
                    </a>
                </div>
            </div>
        </form>
    </div>
</div>